package test4;
import java.util.*;
public class test4 {

	public static void main(String[] args) {
		System.out.println("请输入一个百分制的数");
		Scanner input = new Scanner(System.in);
		
		int level = input.nextInt();
		level = level/10;
		if(level<0)
		{
			System.out.print("输入数据错误");
			
		}
		if(level>0)
		{
			if(level>=90)
			{
				System.out.print("A");
		    }
			if(level>=80&&level<90)
			{
				System.out.print("B");
		    }
			if(level>=70&&level<80)
			{
				System.out.print("C");
		    }
			if(level>=60&&level<70)
			{
				System.out.print("D");
		    }
			if(level>=0&&level<60)
			{
				System.out.print("E");
		    }
		}

	}

}
